package com.redis.model;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class MyBeanRece {

	@RabbitListener(queues = "someQueue")
	public void processMessage(String content) {
		System.out.println("content:" + content);
	}
}
